package com.topvision.auth.domain;

import com.topvision.common.model.DataEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import java.io.Serializable;
import java.time.ZonedDateTime;

/**
 *
 */
@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class SysUserAccount extends DataEntity implements Serializable {

    private Long userId;

    private String oauthType;

    private String account;

    private String oauthId;

    private String oauthAccessToken;

    private String oauthExpires;

    private String password;

    private ZonedDateTime loginDate;

}
